#! /usr/bin/env python2.5

sum([i for i in range(10000,236196) if sum(map(lambda x:x**5, [int(k) for k in str(i)]))==i])
